<%@ page language="java" contentType="text/html; charset=GBK"
    pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Delivery Management</title>
</head>

<script type="text/javascript">
	function queryResult(){
		var url="<%=request.getContextPath()%>/" + fm.action + "?method=queryResult";
		fm.action = url;
		fm.submit();
	}
</script>

<body>
	<form action="transaction.do" name="TransactionForm" method="post">
		<table width="100%" cellpadding="5" cellspacing="1" border="1">
			<tr>
				<td colspan="4" align="center"><b>Query transactions</b></td>
			</tr>
			<tr>
				<td>transactions code</td>
				<td><input type="text" name="transCode" ></td>
				<td>transactions status</td>
				<td><input type="text" name="transStatus"></td>
			</tr>
			<tr>
				<td>customerName"</td>
				<td><input type="text" name="customerName"></td>
				<td>productName</td>
				<td><input type="text" name="productName"></td>
			</tr>
			<tr>
				<td>bookDateStart</td>
				<td>from<input type="text" name="bookDateStart" size="15">to<input type="text" name="bookDateEnd" size="15"></td>
				<td>finishDateStart</td>
				<td>from<input type="text" name="finishDateStart" size="15">to<input type="text" name="finishDateEnd" size="15"></td>
			</tr>
		</table>
		<br>
		<table width="100%" cellpadding="5" cellspacing="1">
			<tr>
				<td align="center"><input type="button" name="but" value="query" onclick="queryResult()"></td>
			</tr>
		</table>
	</form>
</body>
<script type="text/javascript">
	var fm = TransactionForm;
</script>
</html>